package com.cloud.school.bus.teacherhelper.protocol.classmanage;

import java.util.HashMap;

import android.content.Context;
import android.text.TextUtils;

import com.cloud.school.bus.teacherhelper.protocol.ProtocolDef;
import com.cloud.school.bus.teacherhelper.protocol.baserequest.BaseGetHttpRequest;
import com.cloud.school.bus.teacherhelper.protocol.baserequest.BasePostHttpRequest;

public class SearchStudentRequest extends BaseGetHttpRequest {

	public SearchStudentRequest(Context context, String studentname, String tel) {
		super(context);

		HashMap<String, String> requestMap = new HashMap<String, String>();
		if (!TextUtils.isEmpty(studentname)) {
			requestMap.put("studentname", studentname);
		}
		if (!TextUtils.isEmpty(tel)) {
			requestMap.put("tel", tel);
		}
		setRequestParam(ProtocolDef.METHOD_Search_Student, requestMap);

	}

}
